package com.xyz.practice.jdbc.databasemetadata;

import java.io.Serializable;

public class Function implements Serializable {
	private static final long serialVersionUID = 7337130883767894365L;

	Function() {

	}

	/**
	 * function catalog (may be null)
	 */
	private String functionCat;
	/**
	 * function schema (may be null)
	 */
	private String functionSchema;
	/**
	 * function name. This is the name used to invoke the function
	 */
	private String functionName;
	/**
	 * explanatory comment on the function
	 */
	private String remarks;
	/**
	 * kind of function: functionResultUnknown - Cannot determine if a return
	 * value or table will be returned functionNoTable- Does not return a table
	 * functionReturnsTable - Returns a table
	 */
	private short functionType;
	/**
	 * the name which uniquely identifies this function within its schema. This
	 * is a user specified, or DBMS generated, name that may be different then
	 * the FUNCTION_NAME for example with overload functions
	 */
	private String specificName;

	String getFunctionCat() {
		return functionCat;
	}

	void setFunctionCat(String functionCat) {
		this.functionCat = functionCat;
	}

	String getFunctionSchema() {
		return functionSchema;
	}

	void setFunctionSchema(String functionSchema) {
		this.functionSchema = functionSchema;
	}

	String getFunctionName() {
		return functionName;
	}

	void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	String getRemarks() {
		return remarks;
	}

	void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	short getFunctionType() {
		return functionType;
	}

	void setFunctionType(short functionType) {
		this.functionType = functionType;
	}

	String getSpecificName() {
		return specificName;
	}

	void setSpecificName(String specificName) {
		this.specificName = specificName;
	}

}
